﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Factory
{
    public partial class ManterCheque : Form
    {
        public ManterCheque()
        {
            InitializeComponent();
        }

        private void btnVoltar_Click(object sender, EventArgs e)
        {
            this.Close();
            MenuPrincipal menuprincipal = new MenuPrincipal();
            menuprincipal.Show();
        }

        private void button1_Click(object sender, EventArgs e)
        {

        }

        private void btnCompensaCheque_Click(object sender, EventArgs e)
        {
            CompensarCheque compensarcheque = new CompensarCheque();
            compensarcheque.Show();
            this.Hide();

        }

        private void ManterCheque_Load(object sender, EventArgs e)
        {

        }
        protected override bool ProcessCmdKey(ref Message message, Keys keys)
        {
            switch (keys)
            {
                case Keys.Escape:
                    //Process action here.
                    MenuPrincipal menu = new MenuPrincipal();
                    menu.Show();
                    this.Hide();
                    return false;
            }

            return false;
        }
    }
}
